package com.relation.domain;

import java.util.List;

import com.taobao.api.domain.Item;

public class Recommendation {

	public static final int POS_TOP = 0;
	public static final int POS_BOTTOM = 2;
	
	private long id;
	private String name;
	private int position;
	private int columns;
	private String caption;
	private Resource backgroundPic;
	private Resource borderPic;
	private Resource buttonPic;
	private Resource pricePic;
	private List<Item> items;

	public void setItems(List<Item> items) {
		this.items = items;
	}

	public List<Item> getItems() {
		return items;
	}

	public void setName(String name) {
		this.name = name;
	}

	public String getName() {
		return name;
	}

	public void setId(long id) {
		this.id = id;
	}

	public long getId() {
		return id;
	}

	public void setPosition(int position) {
		this.position = position;
	}

	public int getPosition() {
		return position;
	}

	public void setColumns(int columns) {
		this.columns = columns;
	}

	public int getColumns() {
		return columns;
	}

	public void setCaption(String caption) {
		this.caption = caption;
	}

	public String getCaption() {
		return caption;
	}

	public void setBackgroundPic(Resource backgroundPic) {
		this.backgroundPic = backgroundPic;
	}

	public Resource getBackgroundPic() {
		return backgroundPic;
	}

	public void setBorderPic(Resource borderPic) {
		this.borderPic = borderPic;
	}

	public Resource getBorderPic() {
		return borderPic;
	}

	public void setButtonPic(Resource buttonPic) {
		this.buttonPic = buttonPic;
	}

	public Resource getButtonPic() {
		return buttonPic;
	}

	public void setPricePic(Resource pricePic) {
		this.pricePic = pricePic;
	}

	public Resource getPricePic() {
		return pricePic;
	}
}
